package com.ace3l.legal.gwt.domain.test;

import com.ace3l.legal.gwt.domainmodule.gwt.GWTUser;
import com.ace3l.legal.gwt.domainmodule.gwt.GWTRole;
import com.ace3l.legal.gwt.domainmodule.gwt.GWTStudent;

/**
 * Created by IntelliJ IDEA.
 * User: ageer
 * Date: Jul 18, 2008
 * Time: 9:12:56 PM
 * To change this template use File | Settings | File Templates.
 */
public class DomainTestFactory {
    public static GWTStudent getTestStudent(){
        GWTRole myRole = new GWTRole();
        myRole.setId(1);
        myRole.setRole("STUDENT");
        myRole.setUsername("allengeer");

        GWTUser myUser = new GWTUser();
        myUser.setId(1);
        myUser.setUsername("allengeer");
        myUser.setPassword("allengeer");

        myRole.setUser(myUser);
//        myUser.addGWTRole(myRole);

        GWTStudent myStudent = new GWTStudent();
        myStudent.setContactPhone("888-555-1212");
        myStudent.setEmail("allengeer@gmail.com");
        myStudent.setEmailVerified(Boolean.FALSE);
        myStudent.setFirstName("Allen");
        myStudent.setId(1);
        myStudent.setLastName("Geer");
        myStudent.setLawSchoolGPA("4.0");
        myStudent.setLawSchoolName("Rice Law");
        myStudent.setLawSchoolYear("2006");
        myStudent.setMailAddress1("3317 Westridge");
        myStudent.setMailAddress2("");
        myStudent.setMailCity("Houston");
        myStudent.setMailState("TX");
        myStudent.setMailZip("77025");
        myStudent.setMiddleName("E");
        myStudent.setStudentStatus("CURRENT");
        myStudent.setUser(myUser);

        return myStudent;
    }
}
